package com.boarsoft.bean;

public interface LogonI<T> {
	public String getCode();

	public String getEmail();

	public String getName();

	public void setCode(String nick);

	public void setEmail(String email);

	public void setName(String name);

	void setDeptId(String deptId);

	String getCorpId();

	void setCorpId(String corpId);

	String getDeptId();

	short getType();

	/**
	 * 
	 * @return user id
	 */
	T getId();
	
	String getToken();
}
